Skip to main content

Class Connector<TPinDefinition>

Represents a Collection of IPins

Assembly: Meadow.Contracts.dll
View Source
Declaration
public abstract class Connector<TPinDefinition> : IConnector, IIOController<TPinDefinition> where TPinDefinition : IPinDefinitions

Derived:
Meadow.Hardware.GroveDigitalConnector

Implements:
Meadow.IConnector

Properties

Name

The Connector's name

View Source
Declaration
public string Name { get; }

Pins

Gets the Controller's IPinDefinitions

View Source
Declaration
public TPinDefinition Pins { get; }

Methods

GetPin(string)

Retrieves a pin by Name or Key

View Source
Declaration
public IPin? GetPin(string pinName)
Returns

Meadow.Hardware.IPin

Parameters
TypeName
System.StringpinName

Implements